package com.yfp.device.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yfp.device.domain.dto.ComboLabel;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@TableName(value ="combo")
@Tag(name = "套餐信息")
public class Combo {
    @TableId
    @Schema(description = "套餐id")
    private String comboId;
    @Schema(description = "套餐名称")
    private String name;

    private String tagId;

    private String thumb;

    private Integer expireDay;

    private Integer heatTime;

    private Date createTime;

    private Date updateTime;

    private String videoId;

    private String miniPrice;

    private String vipPrice;

    private String costPrice;

    private String salePrice;

    private Integer shelf;

    private String companyId;

    /**
     * 口味（1-不辣 2-微辣  3-中辣  4-麻辣）
     */
    private String taste;

    /**
     * 能量
     */
    private String energy;

    /**
     * 能量NRV
     */
    private String energyNrv;

    /**
     * 蛋白质
     */
    private String protein;

    /**
     * 蛋白质NRV
     */
    private String proteinNrv;

    /**
     * 脂肪
     */
    private String fat;

    /**
     * 脂肪NRV
     */
    private String fatNrv;

    /**
     * 钠
     */
    private String sodium;

    /**
     * 钠NRV
     */
    private String sodiumNrv;

    /**
     * 碳水化合物
     */
    private String carbohydrate;

    /**
     * 碳水化合物NRV
     */
    private String carbohydrateNrv;

    /**
     * 重量（g）
     */
    private Integer weight;

    /**
     * 热量
     */
    private Integer kcal;

    /**
     * 标签名称
     */
    @TableField(exist = false)
    @Schema(description = "标签名称")
    private String tagName;

    /**
     * 头像地址
     */
    @TableField(exist = false)
    @Schema(description = "头像地址")
    private String thumbUrl;

    /**
     * 标签集合
     */
    @TableField(exist = false)
    @Schema(description = "标签集合")
    private List<ComboLabel> comboLabel;
}